meson: Make vulkan and xinerama optional deps default to 'auto'
authorXavier Claessens <xavier.claessens@collabora.com>
Fri, 16 Oct 2020 21:57:48 +0000 (17:57 -0400)
committerXavier Claessens <xavier.claessens@collabora.com>
Sat, 17 Oct 2020 13:54:47 +0000 (09:54 -0400)
It is nicer for contributors to have a build that works by default.
Distributors should be using -Dauto_features=enabled to get ride of
automagic options.

meson_options.txt

index b58c8a9fa0a36c083d6454204e923e886242f586..ac50721ff80033a4cf77c2858a482d3556702d5d 100644 (file)
@@ -43,12 +43,12 @@ option('print',
 
 option('vulkan',
        type: 'feature',
-       value: 'enabled',
+       value: 'auto',
        description : 'Enable support for the Vulkan graphics API')
 
 option('xinerama',
        type: 'feature',
-       value: 'enabled',
+       value: 'auto',
        description : 'Enable support for the X11 Xinerama extension')
 
 option('cloudproviders',